#! /bin/sh
#
# $Id$
#

RM="/bin/rm"
SHELLS="${PKG_DESTDIR-}/etc/shells"

for i in bash ksh zsh
do
  if [ -L /bin/${i} ]; then
    ${RM} -f /bin/${i}
  fi
  sed -e "/^\/bin\/${i}$/d" -i "" ${SHELLS}
done
